const { adminModel } = require('../models/model/admin');
const { dataToJSON, dataDeleteOrUpdateRes } = require('../utils/tools');

// 添加
exports.createService = async (data) => {
	console.log('增');
	return dataToJSON(null, '');
};

// 删除
exports.removeService = async (id) => {
	console.log('删');
	return dataToJSON(null, '');
};

// 修改
exports.updateService = async (data, id) => {
	console.log('改');
	return dataToJSON(null, '');
};

// 查单个
exports.findByIdService = async (id) => {
	console.log('查');
	return dataToJSON(null, '');
};

// 查分页
exports.findByPageService = async (data) => {
	console.log('查');
	return dataToJSON(null, '');
};
